import { addAppComponent } from '@/app'
import { initInteractions } from './core'
import InteractionTipVue from './InteractionTip.vue'

export { setInteraction, setInteractionNormal } from './core'
export type { Interaction, InteractionTip } from './types'
export { BaseInteraction } from './base-interaction'
export { IgnoreMouseDrag } from './ignore-mouse-drag'
export { isRight } from './normal'

export async function setup() {
  initInteractions()
  addAppComponent({ component: InteractionTipVue }, { top: 7, right: 400 })
}
